import React, { Component } from 'react';
import { connect } from 'react-redux';

class Main extends Component {
    componentDidMount() {

    };
    render() {
        const { responsive, path } = this.props;
        return (
            <div>
                我是首页
            </div>
        )
    }
}

/*const mapStateToProps = state => {
    const { responsive = {data: {}} } = state.httpData;
    return {responsive};
};*/

export default connect(state=>({
    User: state.User
}))(Main);
